<?php
if($html->getContent('type')=='content')
{
    
}else{
    $listcategories = ListCategories($html->getId());
    $listcontents   = ListContentByCatId($html->getId());
}
?>